package edu.lsnu.equipment_management_system.mapper.update;

import org.apache.ibatis.annotations.Update;

/**
 * @author mzywucai
 * @Description
 * @date 2018/12/12
 */
public interface ChangeUseStatusMapper {
    @Update("update " +
            "JBXX_SB " +
            "set JBXX_SB.SBZTDM = #{useStatus} " +
            "where JBXX_SB.SBBH = #{equipmentNo}\n")
    int changeUseStatus(String equipmentNo, String useStatus);
}
